
package com.market.test;

import org.springframework.test.AbstractTransactionalDataSourceSpringContextTests;

import com.market.dao.IScrollDAO;

public class BaseTestCase extends AbstractTransactionalDataSourceSpringContextTests
{
    public IScrollDAO scrollDAO;

    protected String[] getConfigLocations()
    {

        String[] config = new String[]{"applicationContext.xml"};
        return config;
    }

    protected void onSetUpBeforeTransaction() throws Exception
    {
        // TODO Auto-generated method stub
        // hardwareDAO = (IHWDAO) applicationContext.getBean("HardwareDAO");
        scrollDAO = (IScrollDAO)applicationContext.getBean("ScrollDAO");
        super.onSetUpBeforeTransaction();
    }
}
